<template>
    <div>
        <van-swipe :autoplay="3000" lazy-render>
            <van-swipe-item v-for="image in images" :key="image">
                <img :src="image" style="width: 100%;height: 200px;"/>
            </van-swipe-item>
        </van-swipe>


        <!--  -->

        <div v-for="item in lc">
            <img :src="item.floor_title.image_src" alt="">
            <div v-for=" items in item.product_list" class="qq">
                <img :src="items.image_src" alt="">
            </div>
        </div>
    </div>
</template>

<script setup>

const images = [
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-1.jpeg',
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-2.jpeg',

    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-3.jpeg',
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-4.jpeg',
];

import { floordataApi } from '@/api/api';
import { ref } from 'vue';
let lc=ref([]);

floordataApi().then(res=>{
    console.log(res);
    lc.value=res.data.message

})
</script>

<style lang="scss" scoped>


</style>